<template>
  <div id="app">
    <h1 class="page-title">
      <a href="#/">组件示例</a>
    </h1>
    <!-- <img style="width:400px;" src="http://p0.qhimg.com/bdm/768_474_0/t019c3458c4ab4d9d65.jpg"> -->
    <router-view />
    <div class="m-t-20 link-list">
      <div class>
        <router-link :to="{name:'login'}" class="router-link">前往login</router-link>
        <router-link :to="{name:'HelloWorld'}" class="router-link">前往HelloWorld</router-link>
        <router-link :to="{name:'blog'}" class="router-link">前往blog</router-link>
      </div>
    </div>

    <!-- <router-view/> -->
  </div>
</template>

<script>
import Vue from 'vue'
import VueBus from "@/plugins/bus";
Vue.use(VueBus);
export default {
  name: "App"
};
</script>

<style>
@import "./assets/css/App.css";
@import "./assets/css/public.css";
.page-title {
  width: 100%;
  margin: 0 auto;
}
.router-link {
  text-decoration: none;
  border: 1px solid #000;
  padding: 2px 5px;
  margin: 0 5px;
}
.link-list {
  margin: 0 auto;
  width: 100%;
  /* display: flex; */
  text-align: center;
}
.m-t-20 {
  margin-top: 20px;
}
</style>

